export default function (initialState: any) {
  const { role } = initialState.currentUser;

  return {
    canReadAdmin: role !== 'editor',
  };
}
